<?PHP
           $Setting=$L_data[$L_Postion][$_i]["Setting"];
           $MoudeTagID=$L_data[$L_Postion][$_i]["ID"];
           $Sorting=$L_data[$L_Postion][$_i]["Sorting"];

?>
<div class="centeroben">
    <table class="titeltable">
        <tr>
          <?php 
          
          if ($L_data[$L_Postion][$_i]["TitelShow"]==0) {
          ?> 
          <td class="titelleft"></td>
          <td class="TitelCenter">
            <h2><?PHP echo $L_data[$L_Postion][$_i]["Titel"]; ?></h2>
          </td>
          <td class="TitelRight"></td>
          <?php
          }
          else if ($L_data[$L_Postion][$_i]["TitelShow"]==1){
          ?>
          <td class="titelleftm"></td>
          <td class="TitelCenterm">
            &nbsp;
          </td>
          <td class="TitelRightm"></td>
          <?php
          }
          ?>
          <?PHP if(($_SESSION["User_Admin"]==1 || $_sw_tagEdit==1) && empty ($_GET['MoudeTagID'])){
                   if($_i!=0) {   ?>
                        <td><a href="<?PHP echo("index.php?tag=$tagID&MoudeTagID=$MoudeTagID&up=1&Sorting=$Sorting&Postion=$L_Postion");?>"><img src="phpimages/up.png" border="0"></a></td>
          <?PHP }
                   if($_i!=$L_datalength[$L_Postion]-1){
           ?>
                       <td><a href="<?PHP echo("index.php?tag=$tagID&MoudeTagID=$MoudeTagID&down=1&Sorting=$Sorting&Postion=$L_Postion");?>"><img src="phpimages/down.png" border="0"></a></td>
           <?PHP   }
           ?>
                   <td><a href="<?PHP echo("index.php?tag=$tagID&MoudeTagID=$MoudeTagID&del=1");?>"><img src="phpimages/delete.png" border="0"></a></td>
                   <?PHP 
                   ?>
                   <td><a href="<?PHP echo("index.php?tag=$tagID&MoudeTagID=$MoudeTagID&edit=1");?>"><img src="phpimages/edit.png" border="0"></a></td>
          <?PHP } ?>
        </tr>
     </table>
</div>
<div class='<?PHP echo "box".$L_Postion ?>'>
  <table class="titeltable" width=100%>
    <tr>
      <td class="boxtopleft">z</td>
      
<?php 
      if ($L_data[$L_Postion][$_i]["Border"]==0) {
      ?> 
<td class="boxtop">z</td>     
<td class="boxtopright">z</td>
      <?php
      }
      else if ($L_data[$L_Postion][$_i]["Border"]==1){
      ?>
<td class="boxtopm">z</td>
<td class="boxtoprightm">z</td>
      <?php
      }
      ?>
    </tr>
    <tr>
      <?php
      
      if ($L_data[$L_Postion][$_i]["Border"]==0) {
      ?>
      <td class="boxcenterleft">z</td>
      <?php
      }
      else if ($L_data[$L_Postion][$_i]["Border"]==1){
      ?>
      <td class="boxcenterleftm">z</td>
      <?php
      }
      ?>
      <td class="boxcenter">
          <form method="POST" id="Form<?PHP echo $MoudeTagID;?>" action="" enctype="multipart/form-data">
              <?PHP
                  if(!empty($R_MoudeTagID) && $R_MoudeTagID == $MoudeTagID && $R_Page!="" ){
                      
                      include($L_data[$L_Postion][$_i]["Adresse1"].$R_Page.".php");
                  }else{
                      
                      include($L_data[$L_Postion][$_i]["Adresse1"].$L_data[$L_Postion][$_i]["Adresse2"].".php");
                  }
              ?>
        </form>
      </td>  
<?php 
      if ($L_data[$L_Postion][$_i]["Border"]==0) {
      ?>  
<td class="boxtopright">z</td>
      <?php
      }
      else if ($L_data[$L_Postion][$_i]["Border"]==1){
      ?>
<td class="boxtoprightm">z</td>
      <?php
      }
      ?>
    </tr>
    <tr>
      <td class="boxtopleft">z</td>
<?php 
      if ($L_data[$L_Postion][$_i]["Border"]==0) {
      ?> 
<td class="boxtop">z</td>     
<td class="boxtopright">z</td>
      <?php
      }
      else if ($L_data[$L_Postion][$_i]["Border"]==1){
      ?>
<td class="boxtopm">z</td>
<td class="boxtoprightm">z</td>
      <?php
      }
      ?>
    </tr>
  </table>
</div>
